home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
ttt5.arc
/
DEMO4.EXE
/
lha
/
MENUDEM1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-01-31
|
1KB
|
42 lines
Program MenuTTT5_Demo_1;
Uses CRT, FastTTT5, DOS, WinTTT5, KeyTTT5, MenuTTT5;
var
M : menu_record;
Choice, Retcode : integer;
Ch : char;
begin
Clrscr;
WriteCenter(24,yellow,black,'TechnoJock''s Turbo Toolkit');
Choice := 1;
Menu_Set(M);
With M do
begin
Heading1 := 'Missile Sites';
Heading2 := 'Main Menu';
Topic[1] := ' Help';
Topic[2] := ' Load Database';
Topic[3] := ' Re-index Database ';
Topic[4] := ' Input new Data';
Topic[5] := ' Save Database';
Topic[6] := ' Print Reports';
Topic[7] := ' Quit';
TotalPicks := 7;
end;
DisplayMenu(M,true,Choice,Retcode);
GotoXY(1,20);
If Retcode = 0 then
Writeln('You chose option ',Choice)
else
Writeln('You escaped!');
DelayKey(3000);
Reset_StartUp_Mode;
Clrscr;
WriteAT(1,1,white,black,'Run DemoTTT.exe for the main demo program');
WriteAT(1,2,white,black,'TechnoJock''s Turbo Toolkit v5.0');
GotoXY(1,5);
end.